package com.example.demo.dao;

import com.example.demo.core.Mapper;
import com.example.demo.model.Student;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author Kevin
 * @date 2020/4/19 15:36
 */
public interface StudentMapper extends Mapper<Student> {

    @Select("SELECT * FROM tb_student where clazz_id = #{clazz_id}")
    public List<Student> queryStudentInfoByClazz(Integer clazz_id);
}
